<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<div>
    <div class="footer">
      <div class="container pl0 pr0">
        <div class="row">
          <div class="col-xs-8">
            <div class="logo pull-left">
              <img src="${pageContext.request.contextPath }/statics/images/logo_bottom.png" alt="">
            </div>
            <div class="content pull-left">
              <p class="f14">
                <a href="http://www.ncss.org.cn/" target="_blank">新职业</a>
                <!-- <span class="footer-space">|</span> <a href="http://www.chsi.com.cn/" target="_blank">学信网</a> -->
                <span class="footer-space">|</span> <a href="https://cy.ncss.cn/about" target="_blank">关于创业</a>
                <span class="footer-space">|</span> <a href="https://cy.ncss.cn/contact" target="_blank">联系我们</a>
              </p>
              <p class="mt14">
                <!-- 主管部门：中华人民共和国教育部 <span class="mr100"></span>--> 版权所有：全国高等学校学生信息咨询与就业指导中心
              </p>
              <p>京ICP备19004913号</p>
            </div>
          </div>

          <%-- <div class="col-md-4 text-right">
             <div class="footer-logo text-center">
                <img src="../static/icon/APPerweima.png"
                  chsi:img="@{/icon/APPerweima.png}" alt="">
                <p>大创网APP下载</p>
            </div>
            <div class="footer-logo text-center">
              <img src="${pageContext.request.contextPath }/statics/images/footer_96_96_002.png" alt="">
              <p>大创网官方微信平台</p>
            </div>
            <div class="footer-logo text-center">
              <img src="${pageContext.request.contextPath }/statics/images/footer_erweima_002.png" alt="">
              <p>大赛官方微信号</p>
            </div>           
          </div> --%>
          
        </div>
      </div>
      <script src="${pageContext.request.contextPath }/statics/images/escape-json.js"></script>
    </div>
    <script>
      $(document).ready(function () {
        var windowHeight = $(window).height();
        var bodyHeight = $(document.body).height();
        var dValue = windowHeight - bodyHeight;
        if (dValue > 0) {
          dValue += 56;
          $("#stick").css("height", dValue);
        }
        $('#prompts,#notToday').find('.modal-dialog').css({
          'margin-top': windowHeight / 2 - 200
        });
        var Sys = {},
          ua = navigator.userAgent.toLowerCase(),
          s,
          mobileAgent = ["iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire"];
        (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1]: 0;
        if (Sys.ie) {
          if (parseFloat(Sys.ie) < 10) {
            $('#prompts').modal('show');
          }
        };
        for (var i = 0; i < mobileAgent.length; i++) {
          if (ua.indexOf(mobileAgent[i]) != -1) {
            $(".mobile-tip").removeClass("hidden");
            break;
          }
        };
      });
    </script>
    
    
  </div>
  <div class="appTip hide">
    <div class="closeWraper"><span class="closeTip iconfont icon-guanbi"></span></div>
    <a id="contact" target="_blank" style="display:block;position:absolute;width:420px;height:90px;background:url(//t3.chei.com.cn/ncss/cy/web/img/index-contact.png) no-repeat;left:50%;margin-left:80px;bottom:22px;" href="https://cy.ncss.cn/provincecontact"></a>
    <a id="question" target="_blank" style="display:block;position:absolute;width:350px;height:90px;background:url(//t3.chei.com.cn/ncss/cy/web/img/index-questions.png) no-repeat;left:50%;margin-left:-450px;bottom:22px;cursor:pointer;" href="https://cy.ncss.cn/problem"></a>
    <p style="color:#fff;margin-top:120px;font-size:14px;position:absolute;left:50%;margin-left:-450px;">请在报名参赛前仔细阅读，如有疑问请点击各省联系方式，咨询所在省份。</p>
  </div>
  <div class="modal fade" tabindex="-1" role="dialog" id="resultTip" aria-hidden="true">
    <div class="modal-dialog modal-sm" style="margin-top: 142.5px;">
      <div class="modal-content">
        <div class="modal-header modal-header-defined ">
          <button type="button" class="close close-defined" data-dismiss="modal">
            <span aria-hidden="true">×</span><span class="sr-only">Close</span>
          </button>
          <h4 class="modal-title modal-title-defined text-center">温馨提示</h4>
        </div>
        <div class="modal-body project-modal-text">
          <span class="project-modal-prompt"></span>
          <div class="project-modal-info">
            <p class="project-modal-del">
              持续更新中。
            </p>
            <div class="form-group clearfix modal-confirm" style="padding-left: 70px;">
              <button class="btn btn-default modal-btn-info-save" data-dismiss="modal">确定</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <div class="modal fade" tabindex="-1" role="dialog" id="redTip" aria-hidden="true">
    <div class="modal-dialog modal-sm" style="margin-top: 142.5px;">
      <div class="modal-content">
        <div class="modal-header modal-header-defined ">
          <button type="button" class="close close-defined" data-dismiss="modal">
            <span aria-hidden="true">×</span><span class="sr-only">Close</span>
          </button>
          <h4 class="modal-title modal-title-defined text-center">各省红旅启动仪式展板模板</h4>
        </div>
        <div class="modal-body project-modal-text">
          <span class="project-modal-download"></span>
          <div class="project-modal-info">
            <ul class="modal-down-list clearfix">
              <li>
                <a href="https://t2.chei.com.cn/ncss/cy/web/lib/shandongsheng.zip">山东省</a>
              </li>
              <li>
                <a href="https://t2.chei.com.cn/ncss/cy/web/lib/heilongjiangsheng.zip">黑龙江省</a>
              </li>
              <li>
                <a href="https://t2.chei.com.cn/ncss/cy/web/lib/jiangxisheng.zip">江西省</a>
              </li>
              <li>
                <a href="https://t2.chei.com.cn/ncss/cy/web/lib/anhuisheng.zip">安徽省</a>
              </li>
            </ul>
            <div class="form-group clearfix modal-confirm" style="padding-left: 80px;">
              <button class="btn btn-default modal-btn-info-save" data-dismiss="modal">确定</button>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <script src="./statics/images/superslide.js"></script>
  <script>
    $(".banner").slide({
      titCell: ".hd ul",
      mainCell: ".bd ul",
      effect: "fold",
      autoPlay: true,
      autoPage: true,
      trigger: "click",
      startFun: function (i) {
        var curLi = jQuery(".banner .bd li").eq(i);
        if (!!curLi.attr("_src")) {
          curLi.css("background-image", curLi.attr("_src"))
            .removeAttr("_src")
        }
      }
    });
    var date = new Date();
    var time = date.getTime();
    var closeTime = window.localStorage.closeTime ? window.localStorage.closeTime : 0;

    var dTime = time - closeTime;

    /* if(dTime>10*60*1000){
      $(".appTip").removeClass("hide");
    }else{
      $(".appTip").addClass("hide");
    } */
    $(".closeTip").on("click", function () {
      $(".appTip").addClass("hide")
    });

    $(".p-block-text-content").each(function () {
      if ($(this).text().length > 34) {
        var temp = $(this).text().substr(0, 34) + "...";
        $(this).text(temp);
      }
    });
    $(".dynamics-text-title").each(function () {
      if ($(this).text().length > 55) {
        var temp = $(this).text().substr(0, 55) + "...";
        $(this).text(temp);
      }
    });
    $(".dynamics-text-content").each(function () {
      if ($(this).text().length > 42) {
        var temp = $(this).text().substr(0, 42) + "...";
        $(this).text(temp);
      }
    });

    $(window).scroll(
      function () {
        var height = $(window).scrollTop();
        if (height >= 826) {
          $('#menu-list').removeClass('shortcut-menu-num')
            .addClass('shortcut-menu');
        } else {
          $('#menu-list').removeClass('shortcut-menu').addClass(
            'shortcut-menu-num');
        }
      });
    
    $("#smallVideo,#customVideo").on("click",function(){
      if(!this.paused){
        this.pause();
      }else{
        this.play();
      }
      return false;
    })

    $(function () {
      
      // 为下拉菜单按钮绑定移入移出事件
      $(".drop-hover").mouseover(function () {
        // $(this).addClass("text-primary");
        $(this).addClass("dropup");
        $(".drop-menu").removeClass("hidden");
      });
      $(".drop-hover").mouseout(function () {
        $(".drop-menu").addClass("hidden");
        $(this).removeClass("dropup");
      });

      // 为下拉菜单选项绑定移入移出事件
      $(".drop-menu").mouseover(function () {
        // $(".drop-hover").removeClass("text-primary");
        $(".drop-hover").addClass("dropup");
        $(".drop-menu").removeClass("hidden");
      });
      $(".drop-menu").mouseout(function () {
        $(".drop-menu a").mouseover(function () {
          $(this).addClass("text-primary");
        });
        $(".drop-menu").addClass("hidden");
        $(".drop-hover").removeClass("dropup");
      });



      $('.dynamics-text').each(function () {
        $(this).hover(function () {
          $(this).find('.dynamics-href').animate({
            width: "338px",
          });
        }, function () {
          $(this).find('.dynamics-href').animate({
            width: "0px",
          });
        });
      });
      $('.p-block-text').each(function () {
        $(this).hover(function () {
          $(this).find('.p-block-back').animate({
            width: "210",
          });
        }, function () {
          $(this).find('.p-block-back').animate({
            width: "0px",
          });
        });
      });
      $('.review-block').each(function () {
        $(this).hover(function () {
          $(this).find('.review-block-mask').animate({
            top: '-36px',
          });
        }, function () {
          $(this).find('.review-block-mask').animate({
            top: '126px',
          });
        });
      });

      $(".review-right").slide({
        mainCell: ".smallbd ul",
        effect: "fold",
        autoPlay: true,
        autoPage: true,
        trigger: "click",
        startFun: function (i) {
          var curLi = jQuery(".review-right .smallbd li").eq(i);
          if (!!curLi.attr("_src")) {
            curLi.css("background-image", curLi.attr("_src"))
              .removeAttr("_src")
          }
        }
      });      

      $(".p-block-text-content").each(function () {
        var $this = $(this);
        if ($this.text().length > 34) {
          var temp = $this.text().substr(0, 34) + "...";
          $this.text(temp);
        }
      });
      $(".right-content h4 a").each(function () {
        var $this = $(this);
        if ($this.text().length > 17) {
          var temp = $this.text().substr(0, 16) + "...";
          $this.text(temp);
        }
      });
      var windowHeight = $(window).height() / 2;
      $("#resultTip .modal-dialog, #redTip .modal-dialog, #resultTip2 .modal-dialog").css("margin-top", windowHeight - 150);
    });
  </script>


</body></html>